package headfirst.designpatterns.factory.b_cars_factorymothod.factory;

import headfirst.designpatterns.factory.b_cars_factorymothod.car.Benz;
import headfirst.designpatterns.factory.b_cars_factorymothod.car.Car;

//具体工厂（每个具体工厂负责一个具体产品）
public class BenzDriver extends Driver{
    public Car createCar(String car) throws Exception {
        return new Benz();
    }  
} 